package com.ljb.readaloud.cos;

import com.tencent.cos.xml.exception.CosXmlClientException;
import com.tencent.cos.xml.exception.CosXmlServiceException;
import com.tencent.cos.xml.model.CosXmlRequest;
import com.tencent.cos.xml.model.CosXmlResult;

/**
 * Created by ljb on 2018/3/29.
 */

public interface OnCOSUploadListener {
    void onSuccess(CosXmlRequest request, CosXmlResult result);
    void onError(CosXmlRequest cosXmlRequest, CosXmlClientException clientException, CosXmlServiceException serviceException);
    void onProgress(long progress, long max);
}
